<template>

  <div v-for="(item,index) in navList" :key="index">
    <NavListItem :itemContent="item"/>
 
</div>
</template>

<script>
import NavListItem from './NavListItem.vue';
export default {
    components:{ NavListItem },
    props:['navList'],//对应home-index.vue，页面组件传值
}
</script>

<style>

</style>